import './assets/font01/iconfont.css'
import './assets/font01/iconfont.json'
import './assets/font02/iconfont.css'
import './assets/font02/iconfont.json'
import './assets/css/index.css'
import './assets/css/common.css'
import 'element-plus/theme-chalk/el-loading.css';
import 'element-plus/theme-chalk/el-message.css';
import { createApp } from 'vue'
import App from './App.vue'
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
import router from './router';
import pinia from '../src/store/index.js'
import VueLazyloadNext from 'vue-lazyload-next';

const app = createApp(App);

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(VueLazyloadNext, {
    preLoad: 1.3, // 预加载高度的比例
    attempt: 3 // 尝试加载次数
});
app.use(router);
app.mount('#app');
app.use(pinia)









